package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap20 extends OSMap
	{
		public function OSMap20()
		{
			super();

			var ground:OSGround = new OSGround(0, 0, 960, 40, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47]);
			ground.setNoErosionLeft([0, 48]);
			ground.setNoErosionRight([47, 95]);
			ground.erode();
			add(ground);

			ground = new OSGround(0, 160, 220, 880, 0, false);
			ground.setNoErosionDown([473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483]);
			ground.setNoErosionLeft([0, 11, 22, 33, 44, 55, 66, 77, 88, 99, 110, 121, 132, 143, 154, 165, 176, 187, 198, 209, 220, 231, 242, 253, 264, 275, 286, 297, 308, 319, 330, 341, 352, 363, 374, 385, 396, 407, 418, 429, 440, 451, 462, 473]);
			ground.setNoErosionRight([120, 197, 208, 219, 230, 241, 252, 263, 274, 285, 296, 307, 318, 329, 340, 351, 362, 373, 384, 395, 406, 417, 428, 439, 450, 461, 472, 483]);
			ground.erode();
			add(ground);

			ground = new OSGround(0, 1040, 960, 40, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24]);
			ground.setNoErosionDown([48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95]);
			ground.setNoErosionLeft([0, 48]);
			ground.setNoErosionRight([47, 95]);
			ground.erode();
			add(ground);

			ground = new OSGround(200, 420, 180, 20, 45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(220, 500, 140, 540, 0, false);
			ground.setNoErosionUp([6]);
			ground.setNoErosionDown([182, 183, 184, 185, 186, 187, 188]);
			ground.setNoErosionLeft([0, 7, 14, 21, 28, 35, 42, 49, 56, 63, 70, 77, 84, 91, 98, 105, 112, 119, 126, 133, 140, 147, 154, 161, 168, 175, 182]);
			ground.setNoErosionRight([111, 160, 167, 174, 181, 188]);
			ground.erode();
			add(ground);

			ground = new OSGround(340, 860, 180, 20, 45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(360, 940, 140, 100, 0, false);
			ground.setNoErosionUp([6]);
			ground.setNoErosionDown([28, 29, 30, 31, 32, 33, 34]);
			ground.setNoErosionLeft([0, 7, 14, 21, 28]);
			ground.erode();
			add(ground);

			ground = new OSGround(380, 160, 120, 140, 0, false);
			ground.setNoErosionDown([36]);
			ground.setNoErosionRight([17, 23, 29, 35, 41]);
			ground.erode();
			add(ground);

			ground = new OSGround(360, 360, 180, 20, 45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(500, 200, 80, 80, 0, false);
			ground.setNoErosionDown([12, 13, 14, 15]);
			ground.setNoErosionLeft([0, 4, 8, 12]);
			ground.setNoErosionRight([11, 15]);
			ground.erode();
			add(ground);

			ground = new OSGround(500, 280, 320, 20, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3, 4, 5, 6, 7]);
			ground.setNoErosionDown([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([15]);
			ground.erode();
			add(ground);

			ground = new OSGround(520, 300, 300, 140, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]);
			ground.setNoErosionLeft([90]);
			ground.erode();
			add(ground);

			ground = new OSGround(580, 240, 80, 40, 0, false);
			ground.setNoErosionDown([4, 5, 6, 7]);
			ground.setNoErosionLeft([0, 4]);
			ground.erode();
			add(ground);

			ground = new OSGround(800, 220, 180, 20, -45, false);
			ground.setBorders(true, true);
			add(ground);

		}
	}
}
